package com.yunxi.vip.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.ApiResult;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.vip.pojo.VipVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2019-09-06
 */
public interface VipDubboService {

    VipVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    ApiResult saveOrUpdate(VipVO vipVO, LoginInfo loginInfo) throws Exception;

    void removeById(String id);

    PageInfo<VipVO> findPageByVO(VipVO vipVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<VipVO> vipVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(VipVO vipVO);

    VipVO getByVin(String vin);
}
